package com.example.admindatasource.model.vo;

import com.example.admindatasource.model.bo.ModelStructureExtBO;
import com.example.adminframework.response.PageContent;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;
import java.util.Map;

@ApiModel("数据和数据结构VO")
public class DataAndStructVO {
    @ApiModelProperty("数据")
    private PageContent<Map<String,Object>> data;

    @ApiModelProperty("数据表结构")
    private List<? super ModelStructureExtBO> struct;

    @ApiModelProperty("被处理数据对应的唯一标识")
    private String uuid;

    @ApiModelProperty("更新影响的列表")
    private PageContent<Boolean> updates;

    private List<Map<String,Object>> sheetList;

    public List<Map<String, Object>> getSheetList() {
        return sheetList;
    }

    public void setSheetList(List<Map<String, Object>> sheetList) {
        this.sheetList = sheetList;
    }

    public PageContent<Boolean> getUpdates() {
        return updates;
    }

    public void setUpdates(PageContent<Boolean> updates) {
        this.updates = updates;
    }

    public PageContent<Map<String, Object>> getData() {
        return data;
    }

    public void setData(PageContent<Map<String, Object>> data) {
        this.data = data;
    }

    public List<? super ModelStructureExtBO> getStruct() {
        return struct;
    }

    public void setStruct(List<? super ModelStructureExtBO> struct) {
        this.struct = struct;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
